const Mock = require('mockjs');

const demoList = {
    total: 100,
    'list|10': [
      {
        id: '@guid',
        name: '@cname',
        'age|20-30': 23,
        'job|1': ['前端工程师', '后端工程师', 'UI工程师', '需求工程师'],
        'zifu|2':'hahi',
        'obj':{
            name:'@cname',
            sex:'男',
            age:'25',
            county:'@county(true)'
        }
      }
    ]
}

export default{
    url:'/api/parameter/query',
    method:'get',
    response:() => {
        return {
            code: 200,
            message: 'success',
            data: Mock.mock(demoList)
        }
    }
}

